package cn.swing.ushare.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class CommentAddNewDTO {
    private String content;
    private Integer userId;
    private Integer state;
    private Integer parentId;
    private Integer articleId;
    private Integer loveCount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp gmtCreate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp gmtModified;
    private Integer isRead;
}
